.protocolPagePart0 {
  clear: both;
  height: calc(80% - 20px);
  width: 100%;
  margin-bottom: 10px;
}

.protocolPagePart0 > div:nth-child(1) {
  float: left;
  height: 100%;
  width: 40px;
  display: flex;
  flex-direction: column;
}

.protocolPagePart0 > div:nth-child(1) > div:first-child {
  height: 175px;
}

.protocolPagePart0 > div:nth-child(1) > div:last-child {
  height: 80px;
}

.protocolPagePart0 > div:nth-child(1) > p {
  flex: 1;
  text-align: right;
  font-size: 1.5em;
  padding-right: 5px;
  margin-top: -15px;
}

.protocolPagePart0 > div:nth-child(2) {
  position: relative;
  float: left;
  height: 100%;
  width: calc(100% - 40px);
  border: 2px solid #213040;
  border-radius: 15px;
  overflow-x: auto;
  overflow-y: hidden;
}

.scrollBarStyle::-webkit-scrollbar {
  height: 10px;
  border-radius: 10px;
}

.scrollBarStyle::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}

.scrollBarStyle::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}

.protocolPagePart0Header,
.protocolPagePart0Main,
.protocolPagePart0Footer,
.protocolPagePart0Canvas {
  position: absolute;
  display: inline-flex;
}

.protocolPagePart0Header > div {
  display: inline-flex;
}

.protocolPagePart0Header > div > div:nth-child(1) {
  height: 100px;
  background-color: #383C96;
  border-radius: 12px;
  position: relative;
}

/*  头部的Stage名称和循环的样式  */
.protocolPagePart0Header > div > div:nth-child(1) > div > p:nth-child(1),
.protocolPagePart0Header > div > div:nth-child(1) > div > p:nth-child(2) {
  margin: 0;
  color: #fff;
  width: 100%;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 25px;
}

/*  循环数的输入框 */
.protocolPagePart0Header > div > div:nth-child(1) > div > p:nth-child(2) > input {
  text-align: center;
  padding: 0;
  width: 55px;
  height: 30px;
  outline: none;
  background: transparent;
  border: 2px solid #fff;
}

/*  增加循环数的两个三角  */
.protocolPagePart0Header > div > div:nth-child(1) > div > p:nth-child(3),
.protocolPagePart0Header > div > div:nth-child(1) > div > p:nth-child(4) {
  position: absolute;
  right: 15px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  cursor: pointer;
}

/*  增加三角 */
.protocolPagePart0Header > div > div:nth-child(1) > div > p:nth-child(3) {
  border-bottom: 20px solid #fff;
  top: 25px;
}

/*  减少三角 */
.protocolPagePart0Header > div > div:nth-child(1) > div > p:nth-child(4) {
  border-top: 20px solid #fff;
  top: 50px;
}

.protocolPagePart0Header > div > div:nth-child(2) {
  width: 40px;
  height: 100px;
  position: relative;
}

/*  增加和减少Stage的按钮 */
.protocolPagePart0Header > div > div:nth-child(2) > div {
  width: 35px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 30px;
  border: 1px solid #213040;
  border-radius: 10px;
  cursor: pointer;
  position: absolute;
  left: 2.5px;
  top: 10px;
}

.protocolPagePart0Main,
.protocolPagePart0Canvas {
  bottom: 80px;
  height: calc(100% - 210px);
}

.protocolPagePart0Main > div {
  width: 260px;
  height: 100%;
  position: relative;
}

.protocolPagePart0Main > div > p {
  width: 80px;
  position: absolute;
  left: 130px;
}

.protocolPagePart0Main > div > p:nth-child(2) {
  border: 1px solid #000;
  width: 50px;
  height: 20px;
}

.protocolPagePart0Main > div > p:nth-child(1) input {
  padding: 2px;
  border: 1px solid #000;
  outline: none;
  background-color: transparent;
  width: 50px;
  height: 20px;
  text-align: center;
}

.protocolPagePart0Main > div > p:nth-child(2) input {
  float: left;
  padding: 2px;
  border: none;
  outline: none;
  background-color: transparent;
  width: 22px;
  height: 20px;
}

.protocolPagePart0Main > div > p:nth-child(2) span {
  position: absolute;
  top: -2px;
}

.protocolPagePart0Main > div > p:nth-child(2) input:nth-child(1) {
  margin-left: 2px;
  margin-right: -2px;
}

.protocolPagePart0Main > div > p:nth-child(2) input:nth-child(3) {
  float: right;
}

.protocolMeltInput {
  left: 270px !important;
  z-index: 999 !important;
  border: none !important;
}

.protocolPagePart0Main > div > .protocolMeltInput > input {
  padding: 2px !important;
  border: 1px solid #000 !important;
  outline: none !important;
  background-color: transparent !important;
  width: 50px !important;
  height: 20px !important;
  text-align: center !important;
}

.protocolPagePart0Footer {
  bottom: 0;
  height: 50px;
}

.protocolPagePart0Footer > div {
  height: 100%;
  width: 220px;
  position: relative;
  border-radius: 12px;
  margin: 0 20px;
  background-color: #383C96;
}

.protocolPagePart0Footer > div:first-child {
  width: 240px !important;
  margin-left: 0 !important;
}

.protocolPagePart0Footer > div:last-child {
  width: 240px !important;
  margin-right: 0 !important;
}

.protocolCamera {
  width: 40px;
  height: 28px;
  position: absolute;
  top: -30px;
  left: 20px;
  background-size: 100%;
  cursor: pointer;
}

.protocolSetting {
  width: 30px;
  height: 23px;
  position: absolute;
  top: -26px;
  left: 180px;
  background-image: url("./images/setting.png");
  background-size: 100%;
  cursor: pointer;
}

.protocolPagePart0Footer > div > div:last-child > p {
  position: absolute;
  right: 15px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  cursor: pointer;
}

/*  设置样式  */
.protocolPagePart1 {
  float: right;
  height: calc(20% - 20px);
  width: calc(100% - 40px);
}

.protocolPagePart1 > div {
  width: 49%;
  height: 100%;
  border: 2px solid #213040;
  border-radius: 15px;
}

.protocolPagePart1Left {
  float: left;
}

.protocolPagePart1Right {
  float: right;
}

.protocolPagePart1 header {
  font-size: 20px;
  height: 38px;
  line-height: 38px;
  position: relative;
}

.protocolPagePart1 header > div {
  float: left;
}

.protocolPagePart1 header > div:nth-child(1), .protocolPagePart1 header > div:nth-child(3) {
  width: 35px;
  height: 35px;
  margin: 0 20px;
  background-size: 100%;
}

.protocolPagePart1 header > div:nth-child(3) {
  left: 570px;
  width: 74px;
  height: 37px;
  position: relative;
  border-radius: 16px;
  cursor: pointer;
}

.protocolPagePart1 header > div:nth-child(2) {
  position: absolute;
  width: 200px;
  text-align: center;
  left: calc(50% - 100px);
}

/*  Parameter Setting */
.protocolPagePart1Left header > div:nth-child(1) {
  background-image: url("images/title1.png");
}

/*.protocolPagePart1Left header > div:nth-child(3) {*/
/*  background-image: url("images/open_CloseDoor.png");*/
/*}*/

.protocolPagePart1Left ul {
  display: flex;
}


.protocolPagePart1Left > ul > li {
  flex: 2 1 auto;
  height: 100px;
  margin: 3px 1%;
  position: relative;
  overflow: hidden;
}

.protocolPagePart1Left > ul > li > div:nth-child(1) {
  width: 148px;
  height: 20px;
  line-height: 20px;
  font-size: 20px;
  text-align: center;
  margin: 10px auto;
}

.protocolPagePart1Left > ul > li:last-child > div:nth-child(1) {
  width: 153px;
}

.protocolPagePart1Left > ul > li:nth-of-type(1) > div:nth-child(1) {
  width: 167px;
}

.protocolPagePart1Left > ul > li:first-child > div:nth-child(2) {
  background-image: url("images/open_CloseDoor.png");
  height: 50px;
  width: 100px;
  background-position-y: 48px;
  cursor: pointer;
  background-size: 100%;
}

.protocolPagePart1Left > ul > li > div:nth-child(2) {
  position: absolute;
  left: calc(50% - 50px);
}

.protocolPagePart1Left > ul > li > div:nth-child(2) > input {
  height: 50px;
  width: 100px;
  outline: none;
  font-size: 25px;
  border: 1px solid #213040;
  border-radius: 15px;
  text-align: center;
}

.protocolPagePart1Left > ul > li > div:nth-child(2) > span {
  font-size: 25px;
  margin-left: 5px;
}

/*  Run First Mode  */
.protocolPagePart1Right header > div:nth-child(1) {
  width: 30px;
  height: 30px;
  margin-top: 3px;
  background-image: url("images/title2.png");
}

.protocolPagePart1Right header > a {
  width: 140px;
  height: 28px;
  border: 1px solid #213040;
  border-radius: 15px;
  background-color: #fff;
  float: right;
  margin: 4px 15px;
  cursor: pointer;
}

.protocolPagePart1Right header > a > div:nth-child(1) {
  height: 20px;
  width: 20px;
  margin: 4px 8px;
  float: left;
  background-image: url("images/title3.png");
  background-size: 100%;
}

.protocolPagePart1Right header > a > div:nth-child(2) {
  color: #213040;
  text-align: center;
  line-height: 28px;
  font-size: 18px;
  float: left;
}

.protocolPagePart1Right > p {
  width: 80px;
  height: 100px;
  font-size: 20px;
  text-align: center;
  padding: 20px 0;
  margin: 2px 10px;
  float: left;
}

.protocolPagePart1Right > ul {
  float: left;
  width: calc(100% - 120px);
  margin: 2px 10px;
}

.protocolPagePart1Right > ul > li {
  float: left;
  width: 16%;
  height: 100px;
}

.protocolPagePart1Right > ul > li > div:nth-child(1) {
  height: 25px;
  width: 25px;
  border: 1px solid #213040;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px auto;
}

.protocolPagePart1Right > ul > li > div:nth-child(2) {
  height: 50px;
  width: 80%;
  line-height: 48px;
  text-align: center;
  font-size: 20px;
  border: 1px solid #213040;
  border-radius: 15px;
  margin: 0 auto;
  overflow: hidden;
  cursor: pointer;
}

/*  设置面板  */
.protocolSettingAlert {
  width: 650px;
  height: 525px;
  position: fixed;
  left: 40%;
  top: 22%;
  background-color: rgba(221, 221, 221, 0.9);
  border-radius: 15px;
}

.protocolSettingAlert > header {
  width: 100%;
  height: 10%;
}

.protocolSettingAlert > header > div {
  height: 40px;
  width: 100%;
}

.protocolSettingAlert > header > div > p:nth-child(1) {
  float: left;
  height: 40px;
  line-height: 40px;
  font-size: 20px;
  margin-left: 15px;
}

.protocolSettingAlert > header > div > p:nth-child(2) {
  float: right;
  width: 31px;
  height: 35px;
  cursor: pointer;
  margin: 10px 0;
  background-image: url("images/X.png");
  background-repeat: no-repeat;
  background-size: 60%;
}

.protocolSettingAlert > header > hr {
  border: 1px solid #213040;
  width: 92%;
  margin: 0 auto;
}

.protocolSettingAlert > section {
  width: 100%;
  height: 90%;
}

.protocolSettingAlertTop {
  width: 100%;
  height: 45%;
}

.protocolSettingAlertBottom > div:nth-child(1),
.protocolSettingAlertTop > div:nth-child(1) {
  width: 30%;
  height: 100%;
  float: left;
  clear: both;
}

.protocolSettingAlertBottom > ul,
.protocolSettingAlertTop > ul {
  width: 70%;
  height: 100%;
  float: right;
}

.protocolSettingAlertBottom > div:nth-child(1) > p,
.protocolSettingAlertTop > div:nth-child(1) > p {
  width: 125px;
  height: 35px;
  font-size: 19px;
  text-align: center;
  border-radius: 12px;
  margin: 10px auto;
}

.protocolSettingAlertTop > div:nth-child(1) > p {
  color: #fff;
  background: #213040;
  line-height: 35px;
}

.protocolSettingAlertTop > ul > li:nth-child(1) {
  height: 30%;
}

.protocolSettingAlertTop > ul > li {
  height: 15%;
}

.protocolSettingAlertTop > ul > li:last-child {
  height: 55%;
}

.protocolSettingAlertBottom > ul > li > div:nth-child(1) > div:nth-child(1),
.protocolSettingAlertTop > ul > li:nth-child(1) > div:nth-child(1) > div:nth-child(1) {
  height: 25px;
  width: 25px;
  border: 1px solid #213040;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 auto;
  float: left;
}

.protocolSettingAlertTop > ul > li:nth-child(2) > div {
  float: left;
  width: 40%;
  height: 40px;
}

.protocolSettingAlertTop > ul > li:nth-child(2) > div:nth-child(1) {
  margin-left: 35px;
}

.protocolSettingAlertTop > ul > li:nth-child(2) > div:nth-child(2) {
  float: right;
}

.protocolSettingAlertTop > ul > li:nth-child(2) > div > input {
  background: transparent;
  outline: none;
  width: 60px;
  border: 1px solid #213040;
  border-radius: 5px;
  margin: 8px 10px;
  text-align: center;
}

.protocolSettingAlertTop > ul > li:nth-child(2) > div > input::-webkit-inner-spin-button,
.protocolSettingAlertTop > ul > li:nth-child(2) > div > input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.protocolSettingAlertTop > ul > li:nth-child(2) > div > span {
  font-size: 18px;
}

.protocolSettingColorBar {
  list-style: none;
  width: 450px;
  height: 100%;
}

.protocolSettingColorBar > li:first-child {
  clear: both;
}

.protocolSettingColorBar > li {
  float: left;
  height: 80px;
  line-height: 80px;
  width: 30px;
  margin: 10px 3px;
  border-radius: 15px;
  color: #fff;
  text-align: center;
}

.protocolSettingAlertBottom {
  width: 100%;
  height: 50%;
}

.protocolSettingAlertBottom > div:nth-child(1) > p {
  border: 2px solid #213040;
  line-height: 33px;
}

.protocolSettingAlertBottom > ul > li {
  width: 100%;
  height: 25%;
}

.protocolSettingAlertTop > ul > li > div:nth-child(1) > div:nth-child(2),
.protocolSettingAlertBottom > ul > li > div:nth-child(1) > div:nth-child(2) {
  font-size: 18px;
  margin-left: 10px;
  float: left;
  width: 190px;
}

.protocolSettingAlertTop > ul > li:nth-child(1) > div:nth-child(2),
.protocolSettingAlertBottom > ul > li > div:nth-child(2) {
  font-style: italic;
  clear: left;
  margin-left: 35px;
}

.protocolSettingAlertBottom > ul > li > div:nth-child(1) > div:nth-child(3) {
  width: 30px;
  height: 30px;
  line-height: 28px;
  border: 1px solid #213040;
  border-radius: 5px;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  margin-left: 20px;
  float: left;
}

.protocolSettingAlertBottom > ul > li > div:nth-child(1) > input {
  outline: none;
  border: 1px solid #213040;
  border-radius: 5px;
  width: 90px;
  margin: 0 10px;
  background: transparent;
  text-align: center;
  font-size: 18px;
}

.protocolSettingAlertBottom > ul > li > div:nth-child(1) > span {
  font-size: 18px;
}

.protocolSettingAlertBottom > ul > li:nth-child(4) > div:nth-child(1) > input {
  margin-left: 60px;
}

